package com.bw.gmallapi.service.impl;

import com.bw.gmallapi.mapper.OrderMapper;
import com.bw.gmallapi.pojo.A;
import com.bw.gmallapi.pojo.KeyWord;
import com.bw.gmallapi.service.IOrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @BelongsProject: gmall_lx
 * @BelongsPackage: com.bw.gmallapi.service.impl
 * @Author: cuizexuan
 * @CreateTime: 2025-06-25  22:17
 * @Description: TODO
 * @Version: 1.0
 */
@Service
public class OrderServiceImpl  implements IOrderService {
    @Autowired
    private OrderMapper orderMapper;


    @Override
    public List<Map<String,Object>> getGmv(String date) {
        // 可以做逻辑判断
        return orderMapper.getGmv(date);

    }

    @Override
    public List<KeyWord> getKeyWord(String date) {
        return orderMapper.getKeyWord(date);
    }

    @Override
    public List<A> getA(String date, String vc, String ch, String ar) {
        return orderMapper.getA(date,vc,ch,ar);
    }


}
